package hotel.quartz.oversea.mapper;

import hotel.base.oversea.repository.MyMapper;
import hotel.quartz.oversea.entity.domain.JobAndTrigger;

import java.util.List;
import java.util.Map;

/**
 * @author zhangjinzheng
 * @date 2019-11-22
 */
public interface JobAndTriggerMapper extends MyMapper<JobAndTrigger> {
    /**
     * 查询定时作业和触发器列表
     *
     * @return 定时作业和触发器列表
     */
    List<JobAndTrigger> getJobList();

    JobAndTrigger getJobOne(Map map);
}
